package com.tsunami.authority.dto.admin;

import com.tsunami.authority.enums.admin.MoldType;
import com.tsunami.authority.enums.admin.TenantType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * @author lx
 *
 * @date 2021-12-02 17:36
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@Schema(description = "租户")
public class TenantSaveDTO {
    @Schema(description = "租户名称")
    private String tenantName;

    /**
     * 租户简称
     */
    @Schema(description = "租户简称")
    private String shortName;
    /**
     * 联系方式
     */
    @Schema(description = "联系方式")
    private String phone;
    /**
     * 租户编号
     */
    @Schema(description = "租户编号")
    private String tenantCode;
    /**
     * 创建者-主管理员
     */
    @Schema(description = "创建者-主管理员")
    private Long userId;
    /**
     * 租户行业类型
     */
    @Schema(description = "租户行业类型")
    private MoldType mold;
    /**
     * 租户类型
     */
    @Schema(description = "租户类型")
    private TenantType type;
    /**
     * 开通时间
     */
    @Schema(description = "开通时间")
    private LocalDateTime openTime;
    /**
     * 到期时间
     */
    @Schema(description = "到期时间")
    private LocalDateTime expireTime;
}
